package com.cheer.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品预订增加库存表
 * 
 * @author chufangzheng
 * @email 1280251739@qq.com
 * @date 2022-05-24 16:41:04
 */
@Data
@TableName("mall_product_book_store")
public class MallProductBookStoreEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 商品ID
	 */
	private Long productId;

	/**
	 * 要预先添加的产品的数量
	 */
	private Integer bookNum;
	/**
	 * 预订时间
	 */
	private Date bookDate;
	/**
	 * 是否删除
	 */
	@TableLogic(delval = "1", value = "0")
	private Integer isDeleted;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;

}
